package xkp.lesson3;

import org.junit.Test;
import xkp.lesson2.FileUtils;

import java.io.IOException;

public class TestCopy {

    @Test
    public void test1() throws IOException {
        FileUtils.copyFileByByte("D:\\eclipse-jee-2019-06-R-win32-x86_64.zip",
                "C:\\Users\\Administrator\\Desktop\\test");
    }

    @Test
    public void test2() throws IOException {
        FileUtils.copyFileByBuf("D:\\eclipse-jee-2019-06-R-win32-x86_64.zip",
                "C:\\Users\\Administrator\\Desktop\\test");
    }
}
